#ifndef __Animator_h__
#define __Animator_h__

#include "scene/SceneNode.h"
#include "core/Timer.h"

namespace kraw
{
	class Animator : public SceneNode
	{
	public:
		Animator(SceneNode* parent);

		virtual void logicUpdate();
		virtual void animate();

	protected:
		Timer timer;
		//Ease ease;
		float duration;
		float delay;
		int repeat;
		bool reverse;
	};
}

#endif
